<div class="user_form">
	<div class="logo">
		<a href="<?= URL::base(); ?>">
			<img src="<?= URL::base() . 'media/site/src/logo.jpg';?>" alt="Subteteca" />
		</a>
	</div>
	<div class="form_box">
		<div class="user_form_title">
			<?= $title ?>
		</div>
		<div class="user_form_content">
		<?
		if(isset($top_content)){
		?>
		<div class="form_top_content"><?= $top_content ?></div>
		<?
		}
		?>
		<?
		if(!empty($errors)) {
		?>
		<div class="error_box">
		<?
		foreach($errors as $message) {
		?> 
			<div><?= $message ?></div>
		<?
		}
		?>	
		</div>
		<?
		}
		?>
		<table>
			<?= $form_open ?>
			<?
			foreach($fields as $label => $input) {
			?>
			<tr>
				<td class="label_form"><?= $label ?></td>
				<td><?= $input ?></td>
			</tr>
			<?
			}
			?>
			<?= Form::close(); ?>
		</table>
		<?
		if(isset($bottom_content)){
		?>
		<div class="form_bottom_content"><?= $bottom_content ?></div>
		<?
		}
		?>
		</div>
	</div>
</div>